package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:11
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductTeamDAO extends IDataAccessInterface<ProductTeam, ProductTeamDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_TEAM";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_TEAM.ID";

    /**
     * Mapped Field PRODUCT_DEFINE_ID
    */
    static final String ProductDefineId = "PRODUCT_TEAM.PRODUCT_DEFINE_ID";

    /**
     * Mapped Field STAFFER_ID
    */
    static final String StafferId = "PRODUCT_TEAM.STAFFER_ID";

    /**
     * Mapped Field STAFFER_ROLE
    */
    static final String StafferRole = "PRODUCT_TEAM.STAFFER_ROLE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_TEAM.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_TEAM.REMARKS";

    /**
     * Mapped Attribute stafferName
    */
    static final String StafferName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute stafferPhoto
    */
    static final String StafferPhoto = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserPhoto,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "SYS_USER.");

    /**
     * Mapped Attribute productName
    */
    static final String ProductName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductDefineDAO.ProductName,
            com.ourteam.product.requirement.dao.IProductDefineDAO.EntityName +
            ".", "PRODUCT_DEFINE.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductTeam findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productDefineId
         */
        static final String ProductDefineId = "productDefineId";

        /**
         * Attribute stafferId
         */
        static final String StafferId = "stafferId";

        /**
         * Attribute stafferRole
         */
        static final String StafferRole = "stafferRole";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute stafferName
         */
        static final String StafferName = "stafferName";

        /**
         * Attribute productName
         */
        static final String ProductName = "productName";

        /**
         * Attribute stafferPhoto
         */
        static final String StafferPhoto = "stafferPhoto";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
